package im.zhaojun.system.mapper;


import im.zhaojun.system.model.PUpdate;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface PUpdateMapper {


    List<PUpdate> SelectAllsPUpdate(@RequestParam("variable") String variable, @RequestParam("groups") String groups,
                                    @RequestParam("levels") String levels);

//    Integer selectCounts();

    PUpdate selectById(Integer id);

    Integer updateById(Integer id, String variable, String groups, String levels, String recovery, String plimit, String describes);

    void deleteById(Integer id);

    int insert(PUpdate record);
}
